unsigned int xen_elf_image;
};
-#include <asm/uaccess.h> /* for KERNEL_DS */
-
extern struct domain idle0_domain;
- extern struct exec_domain idle0_exec_domain;
+ extern struct vcpu idle0_vcpu;
- extern struct exec_domain *idle_task[NR_CPUS];
+ extern struct vcpu *idle_task[NR_CPUS];
#define IDLE_DOMAIN_ID (0x7FFFU)
#define is_idle_task(_d) (test_bit(_DOMF_idle_domain, &(_d)->domain_flags))
extern void sync_lazy_execstate_all(void);
extern int __sync_lazy_execstate(void);
- /* Called by the scheduler to switch to another exec_domain. */
+ /* Called by the scheduler to switch to another vcpu. */
extern void context_switch(
- struct exec_domain *prev,
- struct exec_domain *next);
+ struct vcpu *prev,
+ struct vcpu *next);
- /* Called by the scheduler to continue running the current exec_domain. */
+ /* Called by the scheduler to continue running the current vcpu. */
extern void continue_running(
- struct exec_domain *same);
+ struct vcpu *same);
-void domain_init(void);
-
int idle_cpu(int cpu); /* Is CPU 'cpu' idle right now? */
void startup_cpu_idle_loop(void);